package com.foreknow.elmboot.service;

import com.foreknow.elmboot.po.DeliveryAddress;

import java.util.List;

/**
 * @author 啊滨
 * @date 2023/2/14 14:26
 */
public interface DeliveryAddressService {

    public List<DeliveryAddress> listDeliveryAddressByUserId(String userId);

    public DeliveryAddress getDeliveryAddressById(Integer daId);

    public int saveDeliveryAddress(String contactName,Integer contactSex,String contactTel,String address,String userId);

    public int updateDeliveryAddress(Integer daId, String contactName,Integer contactSex,String contactTel,String address,String userId);

    public  int removeDeliveryAddress(Integer daId);

}
